package micro.beauty.user;

import micro.beauty.common.core.constant.AppConstant;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
/**
* @Description:   用户服务启动类
* @Author:         Liuliya
* @CreateDate:     2020/10/14 22:45
*/
@EnableHystrix
@EnableEurekaClient
@SpringBootApplication
@MapperScan(basePackages = AppConstant.USER_SERVICE_MAPPER_BASE_PACKAGE)
@EnableFeignClients(basePackages = AppConstant.BASE_PACKAGE_PREFIX)
public class UserBizApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserBizApplication.class, args);
    }

}
